<!DOCTYPE html>
<html class="um landscape min-width-240px min-width-320px min-width-480px min-width-768px min-width-1024px">
    <head>
	    <title></title>
	    <meta charset="utf-8">
	    <meta name="viewport" content="target-densitydpi=device-dpi, width=device-width, initial-scale=1, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
	    <link rel="stylesheet" href="../../skin/base.css">
	    <link rel="stylesheet" href="css/search.css">
	    <script src="../../js/zy_control.js"></script>
	    <script src="../../js/zy_click.js"></script>
	</head>
	<body>
		<div id="main">
			<form name="search">
				<div>
					<label>
						<input type="text" name="nu" placeholder="填写快递单号" />
					</label>
					<a ontouchstart="zy_touch('down')" onclick="Scanner();"></a>
				</div>
				<button name="submit" type="submit"><span>查询</span></button>
			</form>
		</div>
	</body>
	<script>
	zy_init();
	var Search=document.search;
	function Scanner(){
		uexScanner.open();
		uexScanner.cbOpen = function(opId,dataType,data){
			if (dataType == 1) {
				data = eval('('+data+')');
				document.search.nu.value=data['code'];
			}
			
		}
	}
	Search.onsubmit=function(){
		with(this){
			var Nu=trim(nu.value);
			if(Nu==''){		
				uexWindow.alert('','请填写快递单号','关闭');return false;
			}
			localStorage['apps_express_nu']=Nu;
		}
		uexWindow.open('apps_express_item','0','search_item.html','2','', '',0);
		return false;
	}
	
	window.uexOnload=function(type){
		if (!type){
			uexWindow.evaluateScript('',0,"$$('content').className='';");
			uexWindow.setBounce("1");
		}
	}
	</script>
</html>